<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>剧中人后台</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link href="/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="style.css?__inline">
<link href="/favicon.ico" rel="shortcut icon"/>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a href="/admin" class="navbar-brand custom-lofox">小剧客栈</a>
		</div>

		<div class="collapse navbar-collapse text-center" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li><a class="custom-lofox" href="/admin/article">博文</a></li>
				<li><a class="custom-lofox" href="/admin/labs">实验室</a></li>
				<li><a class="custom-lofox" href="/admin/comments">评论管理</a></li>
				<li><a class="custom-lofox" href="/admin/friends">友情链接</a></li>
				<li><a class="custom-lofox" href="/admin/gallery">图库</a></li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">用户 <b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a class="custom-lofox" href="/admin/user/list">用户管理</a></li>
						<li><a class="custom-lofox" href="/admin/user/group">用 户 组</a></li>
						<li><a class="custom-lofox" href="/admin/user/power">权限列表</a></li>
					</ul>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="dropdown">
					<a href="#" title="{username}" class="dropdown-toggle" data-toggle="dropdown">
						<span class="glyphicon glyphicon-user"></span>${{username}}<b class="caret"></b>
					</a>
					<ul class="dropdown-menu">
						<li><a class="custom-lofox" href="/admin/user/user.html?userid=${{userid}}">改密</a></li>
						<li><a href="/ajax/user/exist" data-action-ajaxConfirm="二逼，是不是不玩儿啦！"><span class="glyphicon glyphicon-off"></span>退出</a></li>
					</ul>
				</li>
			</ul>
		</div><!-- /.navbar-collapse -->
	</div>
</nav> 
<div class="container bs-docs-container">
	<div class="row">
		<div class="mainCnt"> </div>
	</div>
</div>
<div class="custom-footer">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<h3>后台相关介绍</h3>
				<ul>
					<li>JSON code:200 正常</li>
					<li>JSON code:201 没有权限</li>
					<li>JSON code:501 连不上数据库</li>
					<li>用户ID统一使用小写的uid，而非user_id、userid</li>
					<li>基于bootstrap布局，自定义样式请加上“.custom-”前缀</li>
				</ul>
				<br/>
			</div>
		</div>
	</div>
</div>
<script type="text/template" id="tpl_index_page">
	<link rel="import" href="/tpl/index.html?__inline">
</script>
<script type="text/template" id="tpl_comments_page">
	<link rel="import" href="/tpl/comments_list.html?__inline">
</script>
<script type="text/javascript" src="sea.js" ></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
<script type="text/javascript">
	var admin_dataBase = {
		username : '${{username}}',
		userid : '${{userid}}'
	};
  	seajs.use('app');
</script>
</body>
</html>